<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- 帮我写一个登录功能 -->
    <div id="app">
        <div>
            <input type="text" v-model="username">
            <input type="password" v-model="password">
            <button @click="login">登录</button>
        </div>
        </input>
    </div>
    </div>

</body>

</html>